package com.example.futureai.service;

import org.json.JSONObject;
import org.springframework.ai.document.Document;

import java.util.List;
import java.util.Map;

/**
 * @InterfaceName: TextSplitterIntf
 * @Description:
 * @Author: 何荣
 * @Date: 2025/2/24
 */
public interface TextSplitterIntf {

    public List<Document> split(List<Document> documents, List<Map<String, Object>> metaData);

    public List<String> splitText(String text);
}
